package com.zhou.piledriver.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ZhouShenBin
 * @date 2024/3/27 10:13
 * @description
 */
@Data
@TableName("pd_warning")
public class PdWarning {
    private Long id;
    private String pileId;
    private String PileNo;
    private String deviceCode;
    private String machCode;
    private Integer dataSource;
    private Integer pileStatus;
    private Integer warningLevel;
    private String warningItem;
    private String warningValue;
    private String warningLimit;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime warningTime;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @JsonIgnore
    private Integer deleteFlag;
}
